package cn.yunhe.biz;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.yunhe.dao.UserDao;
import cn.yunhe.model.User;

@Service("userBiz")
public class UserBizImpl implements UserBiz {

	@Resource(name="userDao")
	private UserDao userDao;
	
	public List<User> findAll() {
		return userDao.findAll();
	}

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}
	
	
	

}
